import http from '../Utils/request'
//登录
export const postusers = (user) => {
  return http.post('/user/login', {
    password: user.password,
    phone: user.phone
  })
}

//注册
export const postreg = (user) => {
  return http.post('/user/register', {
    password: user.password,
    phone: user.phone
  })
}
